package zx.x.modules.yshbms.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zx.x.modules.yshapp.entity.RaffleEntity;
import zx.x.modules.yshapp.vo.Raffle2Vo;
import zx.x.modules.yshbms.dao.RaffleDao;
import zx.x.modules.yshbms.service.RaffleService;

import java.util.List;


@Service("raffleService")
public class RaffleServiceImpl extends ServiceImpl<RaffleDao, RaffleEntity> implements RaffleService {

    @Autowired
    RaffleDao raffleDao;


    @Override
    public List<Raffle2Vo> raffeList(RaffleEntity raffleEntity) {

        return raffleDao.raffeList(raffleEntity);
    }

}